package com.dfec.water.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dfec.framework.mybatis.core.dataobject.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;
import com.alibaba.excel.annotation.ExcelProperty;
import java.math.BigDecimal;

/**
 * 区域和设备关联信息对象 ydb_area_device
 *
 * @author df
 * @date Tue Jan 14 11:12:56 CST 2025
 */
@Data
@TableName("ydb_area_device")
public class YdbAreaDeviceEntity  {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ExcelProperty("主键")
    private Long id;


    /**
     * 区域id
     */
    @Schema(description = "区域id")
    @NotNull(message = "区域id")
    @ExcelProperty("区域id")
    private Long areaId;


    /**
     * 设备类别
     */
    @Schema(description = "设备类别")
    @NotNull(message = "设备类别")
    @ExcelProperty("设备类别")
    private String deviceType;


    /**
     * 设备id
     */
    @Schema(description = "设备id")
    @NotNull(message = "设备id")
    @ExcelProperty("设备id")
    private Long deviceId;





}
